package com.drcoffee.drcoffeemall.service;

import com.drcoffee.drcoffeemall.entry.AfterSale;
import com.drcoffee.drcoffeemall.entry.Result;
import org.springframework.http.ResponseEntity;

import java.util.Map;

public interface AfterSaleService {

    Result addAfterSale(String token, AfterSale afterSale);

    ResponseEntity<Object> getAfterSaleList(String token, Map<String, Object> paramMap);

    Result getNotYetAfterSaleParts(String order_code);

    Result setTransportByCode(String code, String transporCode,Integer type);

    Result getAfterSaleByCode(String code);

    Result cancelAfterSale(String code);

    Result reissueReceiveGoods(String code);

}
